﻿<controls:ChildWindow x:Class="SilveR.AnalysisSelectorWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:my="clr-namespace:SilveR"
           Width="271" Height="310"
           Title="Analysis Selection">
  <Grid x:Name="LayoutRoot" Margin="2">
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
        <StackPanel>
            <TextBlock Text="Available analyses:" Margin="6,6,6,3"/>
            <ListBox x:Name ="lstAnalysis" Margin="6,6,6,6" SelectionChanged="lstAnalysis_SelectionChanged" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <my:ListBoxItemEx Content="Summary Statistics" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Single Measure Parametric Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Repeated Measures Parametric Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="P-Value Adjustment" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Non-Parametric Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Power Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Graphical Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Unpaired t-test Analysis" MouseLeftButtonDown="ElementMouseDown"/>
                <my:ListBoxItemEx Content="Paired t-test Analysis" MouseLeftButtonDown="ElementMouseDown"/>

            </ListBox>
        </StackPanel>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
    <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" IsEnabled="False" />

    </Grid>
</controls:ChildWindow>